<!--公共头部开始-->
		<div class="topCommon">
			<div class="small_banner">
				<div class="top_banner"></div>
				<a href=""></a>
			</div>
			<div class="top_nav" style="z-index: 5;">
				<div class="view_area">
					<ul class="view_area_l">
						<li><a href="">时尚商城</a></li>
						<li><a href="">首尔站</a></li>
						<li class="ip">
							<a href="">
								<i class="glyphicon glyphicon-phone"></i>
								手机优购
								<span class="caret"></span></a>
								<div class="wx">
									<div class="dv1 fl"></div>
									<a href=""><div class="dv2 fl"></div></a>
									<a href=""><div class="dv3 fl"></div></a>
									<div class="la fl">安装优购客户端</div>
								</div>
						</li>
					</ul>
					<ul class="view_area_r">
						
						{{if value="isset($_SESSION['uid'])"}}
							<a class="link kt" href="">欢迎 &nbsp;
								<span class="red" style="">{{$_SESSION['email']}}</span>&nbsp;回来
							</a>&nbsp;&nbsp;
							 <a class="link" href="{{U('Login/out')}}">退出</a>
						{{else}}
						 <a class="link kt" href="{{U('Login/index')}}">登录</a>&nbsp;&nbsp;
						 <a class="link" href="{{U('Reg/index')}}">注册 &nbsp;&nbsp;|&nbsp;&nbsp; </a>
						 {{endif}}
						<a class="link fx" href="{{U('Center/index')}}">
							我的优购<span class="caret"></span>
							<div class="hid">&nbsp;&nbsp;我的收藏</div>
						</a>
						<a class="link" href="{{U('Center/myindent')}}">我的订单</a>
						<li class="cil">
							<a class="link fy" href="" style="z-index: 100;">
							公告<span class="caret"></span>
							<ul class="hiy" style="z-index: 10;" >
								<li><a href="">新年翻新样 运动￥89起</a></li>
								<li><a href=""> 精美舒适低跟靴 ￥99起 </a></li>
								<li><a href=""> 首尔卫衣特卖场 70%OFF </a></li>
								<li><a href=""> 优购首尔站 停发货详情 </a></li>
								<li><a href=""> 提醒会员谨防诈骗电话 </a></li>
							</ul>
							</a>
						</li>
						<li class="fz">
							<a class="link" href="">
							更多<span class="caret">	
							<ul class="hz" style="z-index: 100;" >
								<li><a href="">收藏优购</a></li>
								<li>&nbsp;&nbsp;<a href="">帮助</a></li>
							</ul>
						</a>
						</li>
						
					</ul>
				</div>
			</div>
		</div>
		<div id="serach">
			<div class="logo"><a href=""><img src="./Public/Home/images/logo.png"/></a></div>
			<form action="" method="post">
				<input type="text" class="key" value="" />
				<!--<span class="iconfont">&#xe618;</span>-->
				<input type="submit" class="sub" value="搜索" />
			</form>
			<div class="shop" >
				<p>
					<a href="{{U('Indent/index')}}"><span class="glyphicon glyphicon-shopping-cart">	&nbsp;
					</span>购物车(0)&nbsp;&nbsp;<span class="caret"></a>
				</p>
			</div>
			<p class="shopdown">香港上市公司百丽旗下购物网站</p>
			<ul>
				
				
				<li><a href="">2件￥199&nbsp;|</a></li>
				<li><a href="">跑步鞋&nbsp;|</a></li>
				<li><a href="">靴子&nbsp;|</a></li>
				<li><a href="">毛毛虫&nbsp;|</a></li>
				<li><a href="">冲锋衣&nbsp;|</a></li>
				<li><a href="">羽绒服&nbsp;|</a></li>
				<li><a href="">卫衣&nbsp;|</a></li>
				<li><a href="">冬装&nbsp;|</a></li>
				<li><a href="">百丽旗下4折封顶</a></li>
			</ul>
		</div>
		<div class="cate_nav">
			<div class="catenav">
				<ul class="allshop"><a href="">全部商品分类</a></ul>
				<ul class="shoplist">
					<?php 
					    //实例化分类模型
						$Model = new Common\Model\Cate;
						//获得分类数据
						$cateData = $Model->get();
						//获得多级目录列表（多维数组）
	   					$cateData = Data::channelLevel($cateData, $pid = 0, $html = "&nbsp;", $cid = 'cid', $pid = 'pid', $level = 1);
					 ?>
					{{foreach from="$cateData" value="$v"}}
					{{if value="$v['pid'] eq 0"}}
					<li><a href="{{U('List/index',array('cid'=>$v['cid']))}}">{{$v['cname']}}</a></li>
					{{endif}}
					{{endforeach}}
				</ul>
				<ul class="meb">
					<li><a href="">会员中心</a></li>
					<li><a href="">秒杀</a></li>
					<li><a href="">潮流馆</a></li>
				</ul>
			</div>
		</div>
		<div class="cut"></div>
		<!--公共头部结束-->